
#include "tp_typedef.h"
#include "tp_backend.h"

#include "tp_display_win32.h"
#include "tp_source_win32.h"
#include "tp_image_decoder_win32.h"
#include "tp_bitmap_factory.h"
#include "tp_main_loop.h"
#include "tp_globals.h"

int tp_backend_init(void)
{
	tp_bitmap_factory_add_decoder(tp_image_decoder_win32_create());

	tp_set_display(tp_display_win32_create());

	tp_main_loop_add_source_2(tp_source_win32_create());			

	return TP_RET_OK;
}
